import HttpClient from '../utils/httpClient';

// 登出
export function logout(success, error) {
  HttpClient.request({
    method: 'post',
    url: '/logout',
    success: (responseData) => {
      success(responseData);
    },
    error: () => {
      error();
    }
  });
}
